package com.xbjtech.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.xbjtech.model.Role;

public interface RoleMapper extends BaseMapper<Role> {
	
	int insertRoleAndRes(
			@Param("rid") Integer rid, 
			@Param("resId") Integer resId);
	
	int deleteResByRid(Integer rid);
	
	List<Integer> selectResByRid(Integer rid);

}
